package cn.stylefeng.guns.sys.modular.syssite.service;

import cn.stylefeng.guns.sys.modular.org.param.SysOrgParam;
import cn.stylefeng.guns.sys.modular.syssite.entity.SysSiteAdmin;
import com.baomidou.mybatisplus.extension.service.IService;

public interface SysSiteAdminService extends IService<SysSiteAdmin>  {

    void add(SysSiteAdmin siteAdmin);

    boolean checkSiteAdd(SysSiteAdmin siteAdmin, StringBuilder errorMsg);

    boolean checkSiteUpdate(SysSiteAdmin siteAdmin, StringBuilder errorMsg);

    void updateSite(SysSiteAdmin siteAdmin);

    void deleteSite(SysOrgParam sysOrgParam);
}
